package io.lckgroup.modules.lck.entity.wxmpvo;

import io.lckgroup.modules.lck.entity.ShopFoodSpecEntity;

import java.io.Serializable;

/**
 * @author huangrui
 */
public class ShopFoodSpecEntityWeixinVo extends ShopFoodSpecEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer count;


    public ShopFoodSpecEntityWeixinVo(ShopFoodSpecEntity entity) {
        this.setId(entity.getId());
        this.setCount(0);
        this.setGoodsId(entity.getGoodsId());
        this.setSpecsName(entity.getSpecsName());
        this.setPrice(entity.getPrice());
        this.setGmtCreate(entity.getGmtCreate());
        this.setGmtModified(entity.getGmtModified());
    }

    public ShopFoodSpecEntityWeixinVo() {
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }
}
